package com.aorise.model.expose;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotNull;

/**
 * @Auther: zhouhao
 * @Date: 2019/7/11
 * @Description:    指示灯/其他信号状态
 */
@Validated
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value="Index",description="指示灯/其他信号状态")
public class Index {

    @ApiModelProperty(value = "机箱照明灯开启:ON,关闭:OFF")
    @NotNull(message = "机箱照明灯不能为空")
    private String BoLa;

    @ApiModelProperty(value = "告警灯开启:ON,关闭:OFF")
    @NotNull(message = "告警灯不能为空")
    private String Alarm;

    @ApiModelProperty(value = "加热器开启:ON,关闭:OFF")
    private String Heat;

    @ApiModelProperty(value = "风扇开启:ON,关闭:OFF")
    @NotNull(message = "风扇不能为空")
    private String Fan;

    @ApiModelProperty(value = "风扇正常:0,失效: 1")
    @NotNull(message = "风扇状态不能为空")
    private Integer FanSts;

    @ApiModelProperty(value = "蜂鸣器开启:ON,关闭:OFF")
    @NotNull(message = "蜂鸣器不能为空")
    private String Buz;

    @JsonProperty("BoLa")
    public String getBoLa() {
        return BoLa;
    }

    @JsonProperty("BoLa")
    public void setBoLa(String boLa) {
        BoLa = boLa;
    }

    @JsonProperty("Alarm")
    public String getAlarm() {
        return Alarm;
    }

    @JsonProperty("Alarm")
    public void setAlarm(String alarm) {
        Alarm = alarm;
    }

    @JsonProperty("Heat")
    public String getHeat() {
        return Heat;
    }

    @JsonProperty("Heat")
    public void setHeat(String heat) {
        Heat = heat;
    }

    @JsonProperty("Fan")
    public String getFan() {
        return Fan;
    }

    @JsonProperty("Fan")
    public void setFan(String fan) {
        Fan = fan;
    }

    @JsonProperty("FanSts")
    public Integer getFanSts() {
        return FanSts;
    }

    @JsonProperty("FanSts")
    public void setFanSts(Integer fanSts) {
        FanSts = fanSts;
    }

    @JsonProperty("Buz")
    public String getBuz() {
        return Buz;
    }

    @JsonProperty("Buz")
    public void setBuz(String buz) {
        Buz = buz;
    }
}
